package com.qst.rongxiaotong.mapper;

import com.qst.rongxiaotong.pojo.Reserve;
import org.apache.ibatis.annotations.Mapper;
import tk.mybatis.mapper.common.BaseMapper;

import java.util.List;

@Mapper
public interface ReserveMapper extends BaseMapper<Reserve> {
    List<Reserve>selectByKind(Reserve reserve);

    Reserve selectById(Integer id);

    int deleteById(Integer id);

    int updateById(Reserve reserve);

    int addReserve(Reserve reserve);
    //添加预约
    int insertSelective(Reserve reserve);

}
